import 'package:json_annotation/json_annotation.dart';

part 'CommoditySku.g.dart';

@JsonSerializable()
class CommoditySku {
  CommoditySku();

  String? commodityCode;
  String? commodityName;
  String? skuCode;
  String? skuName;
  String? skuType;
  String? description;
  num? salePrice;
  num? marketPrice;
  double? stockQuantity;
  String? imageUrl;
  num? weight;
  num? volume;
  String? carriageWayCode;
  String? carriageWayName;
  String? distributionWayCode;
  String? distributionWayName;
  String? status;
  String? id;
  String? creatorId;
  String? createBy;
  String? createTime;
  String? updaterId;
  String? updateBy;
  String? updateTime;
  String? remark;
  num? delFlag;
  String? tenantId;
  
  factory CommoditySku.fromJson(Map<String,dynamic> json) => _$CommoditySkuFromJson(json);
  Map<String, dynamic> toJson() => _$CommoditySkuToJson(this);
}
